import Vue from 'vue'
import {mapState,mapActions,mapMutations} from "vuex"

Vue.mixin({
    data(){
        return {
            headbg:{
                backgroundImage:'linear-gradient(-90deg, #B90C08, #FF6600, #FFC200)',
            },
        }
    },
    computed:{
        ...mapState(['num','banners','headHeight','userInfo'])
    },
    methods:{
        ...mapActions(['changeNum','setbannersAction']),
		...mapMutations(['changeHeight','changeUserInfo'])
    }
})